body,html{
	background: #fff;
	height: 100%;
	touch-action: none; 
}
.allwrap{
	height: 100%;
	padding-bottom: 1rem;
}
.chatwrap{
	height: 100%;
	position: relative;
}
.chatwrap .mui-content{
	background: #fff;
}
#msgsList{
	padding:.3rem .25rem;
}
#msgsList .item {
    padding-bottom: .2rem;
    overflow: hidden;
}
.mentor-msg-top {
    overflow: hidden;
    line-height: .5rem;
    padding-bottom: .15rem;
}
.mentor-msg-top .msg-img {
    float: left;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    overflow: hidden;
}
.mentor-msg-top .msg-img img {
    display: block;
    width: 100%;
    height: 100%;
}
.mentor-msg-top .msg-name {
    float: left;
    font-size: .24rem;
    color: #555;
    margin:0 .1rem;
}
.mentor-msg-top .msg-idcard {
    float: left;
    font-size: .18rem;
    text-align: center;
    padding: 0 .06rem;
    line-height: .28rem;
    box-sizing: border-box;
    border: 1px solid #81d5fb;
    color: #81d5fb; 
    margin-top: .1rem;   
}
.msg-idcard{
	margin: 2px;
}
.mentor-msg-top .msg-time {
    float: left;
    font-size: .18rem;
    color: #888;
    margin:0 .1rem;
}
.item-myself .msg-name,.item-myself .msg-img,.item-myself .msg-idcard ,.item-myself .msg-time{
    float: right;
}
.mentor-msg-txt {
    display: inline-block;
    max-width: 78%;
    text-align: justify;
    float: left;
    word-break: break-all;
}
.item-myself .mentor-msg-txt {
    float: right;
}
.mentor-msg-txt>p{
	box-shadow: 0px 1px 4px 0px rgba(132, 151, 169, 0.06);
    background: #F4F5F6;
    border-radius: 0 18px 18px;
    font-size: .24rem;
    line-height: 1.5;
    color: #222;
    padding: .14rem .24rem;	
}
.item-myself .mentor-msg-txt>p{
	background: #ff2d4a;
    color: #fff;
    border-radius: 18px 0px 18px 18px;	
}
.redpoint{
	border-radius: 50%;
	width: .1rem;
	height: .1rem;
	background: red;
	float: left;
	position: absolute;
	right: -.2rem;
}
.item-myself .mentor-msg-txt>p .redpoint{
	left: -.2rem;
	right: auto;
}
.mentor-msg-txt>p img{
	height: .36rem;
}
.mentor-msg-txt>img.img-style{
	max-width: 3rem;
	height: auto;
	max-height: 3rem;
}
.mentor-msg-txt audio{

}
.mentor-msg-txt video{
	width: 6rem;
}
.mentor-msg-txt .card-body{
	width: 200px;
	-webkit-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.05);
    box-shadow:0px 0px 10px 1px rgba(0, 0, 0, 0.05);
    border: 1px solid #E1E4E9;
    background-color: #FFF;
    color: #222;
    -webkit-transition: .3s;
    transition: .3s;
    border-radius: 15px;
    overflow: hidden;
}
.card-body>div{
	padding: .1rem .2rem;
}
.card-body h2{
	border-bottom: 1px dashed #E1E4E9;
    font-weight: 300;
    text-align: left;
    font-size: .24rem;
    line-height:2.5;
    margin-bottom: .1rem;
    color: #555;
}
.card-body h3 {
    max-width: 100%;
    font-size: .24rem;
    line-height: 1;
    font-weight: 400;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-align: left;
    margin-bottom: .2rem;
}
.card-body .card-bottom{
	font-size: .24rem;
	color: #555;
	text-align: left;
	line-height: 1.85;
}
.card-body .card-bottom button{
	color: #FF2D4A;
	float: right;
	text-decoration: underline;
}

/* 图片全屏预览 */
.mui-preview-image.mui-fullscreen {
	position: fixed;
	z-index: 20;
	background-color: #000;
}
.mui-preview-header,
.mui-preview-footer {
	position: absolute;
	width: 100%;
	left: 0;
	z-index: 10;
}
.mui-preview-header {
	height: 44px;
	top: 0;
	text-align: center;
}
.mui-preview-footer {
	height: 50px;
	bottom: 0px;
}
.mui-preview-header .mui-preview-indicator {
	display: block;
	line-height: 25px;
	color: #fff;
	text-align: center;
	margin: 15px auto 4px;
	width: 70px;
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 12px;
	font-size: 16px;
}
.mui-preview-image {
	display: none;
	-webkit-animation-duration: 0.5s;
	animation-duration: 0.5s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
.mui-preview-image.mui-preview-in {
	-webkit-animation-name: fadeIn;
	animation-name: fadeIn;
}
.mui-preview-image.mui-preview-out {
	background: none;
	-webkit-animation-name: fadeOut;
	animation-name: fadeOut;
}
.mui-preview-image.mui-preview-out .mui-preview-header,
.mui-preview-image.mui-preview-out .mui-preview-footer {
	display: none;
}
.mui-zoom-scroller {
	position: absolute;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	-webkit-backface-visibility: hidden;
}
.mui-zoom {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}
.mui-slider .mui-slider-group .mui-slider-item img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}
.mui-android-4-1 .mui-slider .mui-slider-group .mui-slider-item img {
	width: 100%;
}
.mui-android-4-1 .mui-slider.mui-preview-image .mui-slider-group .mui-slider-item {
	display: inline-table;
}
.mui-android-4-1 .mui-slider.mui-preview-image .mui-zoom-scroller img {
	display: table-cell;
	vertical-align: middle;
}
.mui-preview-loading {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: none;
}
.mui-preview-loading.mui-active {
	display: block;
}
.mui-preview-loading .mui-spinner-white {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -25px;
	margin-top: -25px;
	height: 50px;
	width: 50px;
}
.mui-preview-image img.mui-transitioning {
	-webkit-transition: -webkit-transform 0.5s ease, opacity 0.5s ease;
	transition: transform 0.5s ease, opacity 0.5s ease;
}
@-webkit-keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@-webkit-keyframes fadeOut {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
@keyframes fadeOut {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

/* 图片全屏结束 */

.chatbotwrap{
	position: absolute;
	bottom: 0;
	width: 100%;
	background: #F6F8FA;
	border-top: 1px solid #E2E2E2;

	/*z-index: 99;*/
}
.chatbotwrap .chatbot-top{
	height: 1rem;
	width: 100%;
	display: table;
}
.chatbtncont{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	font-size: 0;
}
.chat-btn{
	display: inline-block;
	vertical-align: middle;
	width: .4rem;
	height: .4rem;
	cursor: pointer;
}
.chat-btn img{
	display: block;
	width: 100%;
	height: 100%;
}
.chat-input{
	display: inline-block;
	vertical-align: middle;	
	height: .66rem;
	background: #fff;
	border-radius: .4rem;
	border: 1px solid #e2e2e2;
	width: 5.3rem;
	overflow: hidden;
	margin: 0 .15rem;
}
.chat-input .keyinput{
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	margin: 0;
	/*padding: 0 .2rem;*/
	font-size: .24rem;
	color: #222;
}
.chat-input .audioinput{
	margin: 0 ;
	padding: 0;
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
	text-align: center;
	font-size: .24rem;
	color: #333;
	background: #F6F8FA;
	display: none;
}
.chat-left-key .chat-right-key{
	display: none;
}
.chat-btn.show{
	display: inline-block;
}
.chat-btn.hide{
	display: none;
}
.chat-add{
	margin-left: .15rem;
}
.chatbot-bot{
	height: 0;
	background: #F6F8FA;
	padding: 0 .27rem;
	overflow: hidden;
	position: relative;
	transition: all .3s ease;
}
.chatbot-bot.show{
	height: 1.6rem;
}
.chatbot-bot:before{
	content: "";
	position: absolute;
	top: 0;
	width: 100%;
	left: 0;
	height: 1px;
	background: #e2e2e2;
}
.chataddcont{
	height: 100%;
	display: none;
	transition: all .3s;
}
.chataddcont.show{
	display: block;
}
.chataddcont>span{
	float: left;
	width: .8rem;
	height: .8rem;
	margin-right: .3rem;
	margin-top: .36rem;
}
.chataddcont>span img{
	display: block;
	height: 100%;
	width: 100%;
}
.chatemojicont{
	height: 100%;
    overflow-y: auto;
    padding-bottom: .15rem;
    display: none;
    transition: all .3s;
}
.chatemojicont.show{
	display: block;
}
.chatemojicont img{
	height: .5rem;
	margin-right: .1rem;
	margin-top: .2rem;
}
.allwrap.padmore{
	padding-bottom: 2.6rem;
}

.fixsound{
	position: fixed;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: .25rem;
	background: rgba(0, 0, 0, 0.5);
	text-align: center;
	left: 50%;
	top: 50%;
	margin-left: -1.2rem;
	margin-top: -1.2rem;
	z-index: 999;
	display: none;
	-webkit-transition:all .3s;
	transition: all .3s;
}
.fixsound{
	position: fixed;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: .25rem;
	background: rgba(0, 0, 0, 0.5);
	text-align: center;
	left: 50%;
	top: 50%;
	margin-left: -1.2rem;
	margin-top: -1.2rem;
	z-index: 999;
	display: none;
	-webkit-transition:all .3s;
	transition: all .3s;
}
.sound-icon{
	height: .71rem;
	margin: .6rem 0 .4rem;
}
.sound-icon>img{
	display: inline-block;
	vertical-align: middle;
	height: 100%;
	margin: 0 auto;
	margin-right: .15rem;
}
.sound-icon>i{
	display: inline-block;
	vertical-align: middle;
	height: 100%;
	width: .44rem;
	background-image:  url('../image/chat/levelall.png');
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: 800%;
}
.sound-icon.lev1>i{
	background-position:  -.44rem 0;
}
.sound-icon.lev2>i{
	background-position: -.88rem 0;
}
.sound-icon.lev3>i{
	background-position: -1.32rem 0;
}
.sound-icon.lev4>i{
	background-position: -1.76rem 0;
}
.sound-icon.lev5>i{
	background-position: -2.20rem 0;
}
.sound-icon.lev6>i{
	background-position: -2.64rem 0;
}
.sound-icon.lev7>i{
	background-position: -3.08rem 0;
}
.mui-preview-close{
	position: absolute;
	top: 0;
	left: 0;
	width: 65px;
	height: 65px;
	z-index: 9999;
	background: url('http://ykt.cfnet.org.cn/study/mentor/images/icon-close.png') center no-repeat;
}

.gificon{
	float: left;
	margin-right: .05rem;
	vertical-align: bottom;
	background:url('../image/chat/icon-voice2.png') right 0 no-repeat;
	/*background-position: -200px -240px;*/
	width: .35rem;
	height: .35rem;
	background-size: 400%;
}
.spaeechtime{
	/*float: left;*/
	height: 24px;
	line-height: 24px;
}
.item-myself .mentor-msg-txt>p .gificon{
	float: right;
	margin-right: 0;
	width: .35rem;
	height: .35rem;
	/*margin-left: .2rem;*/
	background:url('../image/chat/icon-voice.png') left 0 no-repeat;
	background-size: 400%;
}
.voicePlay {
	animation-name: voicePlay;
	animation-duration: 1s;
	animation-direction: normal;
	animation-iteration-count: infinite;
	animation-timing-function: steps(3);
}
.item-myself .voicePlay {
	animation-name: voicePlay2;
	animation-duration: 1s;
	animation-direction: normal;
	animation-iteration-count: infinite;
	animation-timing-function: steps(3);
}
@keyframes voicePlay {
	0% {
		background-position: 0;
	}
	100% {
		background-position: 100%;
	}
}
@keyframes voicePlay2 {
	0% {
		background-position: 100%;
	}
	100% {
		background-position: 0;
	}
}
.sound-txt{
	text-align: center;
    color: #fff;
    font-size: .22rem;
    display: inline-block;
    padding: 0 .1rem;
    border-radius: .05rem;
}
.rprogress-sigh {
    background-image: none !important;
}
.fixsound .cancel {
    background-color: darkred;
}